package com.aura.springbook;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 图书管理系统主应用启动类
 * test 123456
 * - API文档：http://localhost:9090/doc.html
 * -  前端  : http://127.0.0.1:9090/frontend/index.html
 */
@SpringBootApplication
@MapperScan("com.aura.springbook.mapper")
@OpenAPIDefinition(info = @Info(title = "图书管理系统API", version = "1.0", description = "图书管理系统API文档"))
public class SpringBookApplication {

    /**
     * 应用程序入口点
     *
     * @param args 命令行参数
     */
    public static void main(String[] args) {
        SpringApplication.run(SpringBookApplication.class, args);
    }

}